package org.jeecg.modules.engineering.mapper;

import java.util.List;

import com.baomidou.mybatisplus.annotation.SqlParser;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.engineering.entity.EquipCollectItem;
import org.jeecg.modules.engineering.entity.EquipEventSort;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * @Description: 设备事件分类表
 * @Author: jeecg-boot
 * @Date:   2019-08-20
 * @Version: V1.0
 */
@Repository
public interface EquipEventSortMapper extends BaseMapper<EquipEventSort> {

    @SqlParser(filter = true)
    List<EquipEventSort> selectAll();

    @SqlParser(filter = true)
    EquipEventSort findById(@Param("id") String id);

    List<EquipEventSort> selectSqlList(Page<EquipEventSort> page, String sortName, String sortCode);
}
